using UnityEngine;
using QFramework;
using QFramework.Example;

namespace QFramework.FlyBird
{
    public partial class SceneController : ViewController
    {
        void Start()
        {
            // Code Here
            UIKit.Root.SetResolution(720, 1280, 1);
            UIKit.OpenPanel<UIGamePanel>();
        }
        private void OnDestroy()
        {
            try
            {
                UIKit.ClosePanel<UIGamePanel>();
            }
            catch (System.Exception)
            {

            }
            
        }
    }
}
